SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46240: "ERROR: Read Access Violation In Task [ PACKOPT ]" might be encountered

DetailsHotfixAboutRate It

A purchase order plan might fail to optimize and the following errors might be found in the stored processed log in SAS® Pack Optimization:

ERROR: Read Access Violation In Task [ PACKOPT ] Exception occurred at (06589994) Task Traceback Address Frame (DBGHELP API Version 4.0 rev 5) 06589994 06A1F9AC packopt:\profile_cluster_size.c\profile_cluster_size_get_contrib_pct 69 +(0x6) 06589BB6 06A1F9FC packopt:\profile_plan.c\get_profile_percent_adjustment 103 +(0x15) 065A016C 06A1FEC4 packopt:\profile_apply_workflow.c\profile_apply 86 +(0x24) 065951B3 06A1FF04 packopt:\workflow_manager.c\run_profile_apply 410 +(0x9) 06594B65 06A1FF64 packopt:\workflow_manager.c\run_workflow 224 +(0x7) 065411C5 06A1FF84 packopt:\packopt.c\packopt 49 +(0xB) 019149DB 06A1FFA4 sashost:\vvtentr.c\vvtentr 196 +(0x17) 01918FBC 06A1FFB8 sashost:htthread+0x38 77E6482F 06A1FFEC kernel32:GetModuleHandleA+0xDF

The optimization error occurs when both of the following conditions are true:

  • The best matching profile Pack Optimization returned contains a store group 2000.
  • Any of the stores in Store Group 2000 are included in the purchase order plan.

The optimization error also occurs when clusters have different sizes in the same size profile.

In addition, the purchase order plan has a "Optimization Failed" status in the UI. The status value usually is a hyperlink where upon clicking, detailed warning or error messages will be displayed. However, the status is just a plain text due to the "Read Access Violation In Task" error.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Pack OptimizationMicrosoft Windows Server 2003 Datacenter Edition2.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition2.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition2.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x642.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 20082.2_M13.29.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x642.2_M13.29.2 TS2M39.3 TS1M0
64-bit Enabled AIX2.2_M13.29.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.